using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace PokerServerWebService.DataContracts
{
    /// <summary>
    /// Dane gry
    /// </summary>
    [DataContract(Namespace = "http://WCF.DataContracts/2007/12", Name = "PokerRoom")]
    public partial class PokerRoom
    {
        private System.String NameField;

        /// <summary>
        /// Nazwa gry
        /// </summary>
        [DataMember(IsRequired = false, Name = "Name", Order = 0)]
        public System.String Name
        {
            get { return NameField; }
            set { NameField = value; }
        }

        /// <summary>
        /// Id gry
        /// </summary>
        private System.Int32 IdField;

        [DataMember(IsRequired = false, Name = "Id", Order = 1)]
        public System.Int32 Id
        {
            get { return IdField; }
            set { IdField = value; }
        }
        /// <summary>
        /// Ustawienia gry
        /// </summary>
        private PokerServerWebService.DataContracts.PokerRoomOptions OptionsField;

        [DataMember(IsRequired = false, Name = "Options", Order = 2)]
        public PokerServerWebService.DataContracts.PokerRoomOptions Options
        {
            get { return OptionsField; }
            set { OptionsField = value; }
        }
        /// <summary>
        /// Liczba graczy
        /// </summary>
        private System.Int32 PlayersField;

        [DataMember(IsRequired = false, Name = "Players", Order = 3)]
        public System.Int32 Players
        {
            get { return PlayersField; }
            set { PlayersField = value; }
        }
        /// <summary>
        /// Status gry
        /// </summary>
        private PokerGameStatus StatusField;

        [DataMember(IsRequired = false, Name = "Status", Order = 3)]
        public PokerGameStatus Status
        {
            get { return StatusField; }
            set { StatusField = value; }
        }


    }
}
